import 'package:json_annotation/json_annotation.dart';

part 'MessageVo.g.dart';

@JsonSerializable()
class MessageVo {
  MessageVo();

  int? id;
  String? content;
  String? senderName;
  String? createTime;
  String? avatar;
  String? sendId;
  bool? isMine;
  String? sessionId;
  String? sendTime;
  
  factory MessageVo.fromJson(Map<String,dynamic> json) => _$MessageVoFromJson(json);
  Map<String, dynamic> toJson() => _$MessageVoToJson(this);
}
